/*
 * @Date: 2025-01-02 15:19:14
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2025-01-02 15:23:45
 * @Description: 
 */

import routesForm from './routes-form.js'
import routesHome from  './routes-home.js'
import routesComps from './routes-comps.js'
import routesTable from './routes-table.js'
import routesLayout from './routes-layout.js'

const metaBase = {
	isLink: '',
	isHide: false,
	isKeepAlive: true,
	isAffix: false,
	isIframe: false,
	roles: ['admin'],
	icon: 'icon-xitongshezhi',
}

const routes = [
  {
    path: '/examples',
    name: 'Example',
    component: () => import('/@/layout/routerView/parent.vue'),
    redirect: '/examples/layout',
    meta: {
      ...metaBase,
      title: '功能示例',
    },
    children: [
      ...routesForm,
      ...routesHome,
      ...routesComps,
      ...routesTable,
      ...routesLayout,
    ],
  },
]

export default routes
